package com.bdqn.zhang.entity;

import java.io.Serializable;
import java.util.Date;

public class SysUser implements Serializable {
    private long id;
    private String name;
    private String password;
    private String telephone;
    private String username;
    private String isadmin;
    private Date createTime;


    public SysUser() {
    }

    public SysUser(String name, String password, String telephone, String username, String isadmin) {
        this.name = name;
        this.password = password;
        this.telephone = telephone;
        this.username = username;
        this.isadmin = isadmin;
    }

    public SysUser(String name, String password, String telephone, String username, String isadmin, Date createTime) {
        this.name = name;
        this.password = password;
        this.telephone = telephone;
        this.username = username;
        this.isadmin = isadmin;
        this.createTime = createTime;
    }

    public SysUser(long id, String name, String password, String telephone, String username, String isadmin, Date createTime) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.telephone = telephone;
        this.username = username;
        this.isadmin = isadmin;
        this.createTime = createTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIsadmin() {
        return isadmin;
    }

    public void setIsadmin(String isadmin) {
        this.isadmin = isadmin;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
